import Vue from 'vue'
import App from './App.vue'
import router from './router'
import dataV from '@jiaminghi/data-view'
import * as echarts from 'echarts';
import * as echarts4 from 'echarts4'
import chinaMap from '@/assets/中华人民共和国.json'
// 加载echarts4版本总的china.js
import 'echarts4/map/js/china.js'
import USAMap from '@/data/USA.json';
// 注册地图
echarts4.registerMap('china', chinaMap)

Vue.use(dataV)
Vue.prototype.$echarts = echarts;
Vue.prototype.$echarts4 = echarts4;


Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
